package com.cy;

/**
 * @Author：小小微光
 * @Package：com.cy
 * @Project：Alian
 * @name：TestMain
 * @Date：2023/3/21 0021  19:32
 * @Filename：TestMain
 */
public class TestMain {
    public static void main(String[] args) {
        int h = 30;
        int day = 0;
        int temp = 0;

        while (temp<30){
            temp+=5;
            if (temp < 30) {
                temp-=3;
                day++;
            }
        }

        System.out.println(day);
        System.out.println(day);
        
    }
}
